<template>
    <div>
        <el-container>
            <el-aside width="200px">
                <Aside></Aside>
            </el-aside>
            <el-container>
                <el-header>
                    <Header></Header>
                </el-header>
                <el-main>
                    <router-view></router-view>
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>
<script>
    import Aside from './main/Aside.vue'
    import Header from './main/Header.vue'
    export default {
        name: 'Main',
        components:{
            Aside,
            Header
        }
    }
</script>
<style scoped>
    a{
        text-decoration: none;
    }
    .el-header {
        background-color: #1E2B48;
        color: #333;
        line-height: 60px;
    }

    .el-aside {
        /* background-color: #D3DCE6; */
        color: #333;
    }

    .el-main {
        background-color: rgb(247, 247, 247);
        color: #333;
    }

    .el-container {
        height: 100%;
    }

    .el-container:nth-child(5) .el-aside,
    .el-container:nth-child(6) .el-aside {
        line-height: 260px;
    }

    .el-container:nth-child(7) .el-aside {
        line-height: 320px;
    }
</style>